package com.example.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.query.Param;

import com.example.entity.Book;


public interface BookRepository extends JpaRepository<Book, Long> {

    List<Book> findByTitle(@Param("title") String title);

}
